﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AuthentificatedUserInfo.ascx.cs" Inherits="UserControls_AuthentificatedUserInfo" %>
<asp:SiteMapDataSource ID="sdsMainMenu" runat="server" ShowStartingNode="false" />

<asp:Panel ID="pnlAuthentificatedUserInfo" runat="server" BackColor="LightGray">
    <table width="100%">
        <tr>
            <td align="left">
                <asp:Menu ID="MainMenu" runat="server" DataSourceID="sdsMainMenu" 
                    Orientation="Horizontal" BackColor="#B5C7DE" DynamicHorizontalOffset="2" 
                    Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" 
                    StaticSubMenuIndent="10px" 
                    onmenuitemdatabound="MainMenu_MenuItemDataBound" >
                    <StaticSelectedStyle BackColor="#507CD1" />
                    <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
                    <DynamicHoverStyle BackColor="#284E98" ForeColor="White" />
                    <DynamicMenuStyle BackColor="#B5C7DE" />
                    <DynamicSelectedStyle BackColor="#507CD1" />
                    <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
                    <StaticHoverStyle BackColor="#284E98" ForeColor="White" />
                </asp:Menu>
            </td>
            <td align="right">            
                <asp:Label ID="lblUser" runat="server" Text="Користувач:"/>
                &nbsp;
                <asp:HyperLink ID="hlkUser" runat="server" />
                &nbsp;&nbsp;
                <asp:Button ID="btnSingOut" runat="server" Text="Вихід" OnClick="btnSingOut_Click" CausesValidation="false" />
            </td>
        </tr>
    </table>
</asp:Panel>
